package com.smmisia.shop.request;

import com.smmisia.shop.constant.ProductEvent;
import lombok.Data;

import java.math.BigDecimal;

import static com.smmisia.shop.constant.ProductEvent.MODIFY_PRICE;

@Data
public class ProductModifyPriceRequest extends BaseProductRequest{

    /**
     * '价格'
     */
    private BigDecimal price;

    @Override
    public ProductEvent getEventType() {
        return MODIFY_PRICE;
    }
}
